<?php
class Factory {
  function create($class_name) {
      require_once APPPATH.'/libraries/'.$class_name.'.php';
      return new $class_name();
  }
}
?>
